package cn.shentianlan.service;

import cn.shentianlan.criteria.ClassroomSchedulingCriteria;
import cn.shentianlan.domain.dto.ClassroomSchedulingDTO;
import cn.shentianlan.domain.entity.ClassroomScheduling;
import cn.shentianlan.utils.Result;

import java.time.LocalDateTime;

/**
 * @Author 陈俊源
 * @Description TODO
 * @Date 2021/5/6
 * @Version 1.0
 */
public interface ClassroomSchedulingService {
    Result findClassroomSchedulingByCriteria(ClassroomSchedulingCriteria criteria);

    Result saveOrUpdate(ClassroomSchedulingDTO classroomSchedulingDTO);

    Result getClassrooomSchedulingById(Long id);

    Result deleteCLassroomSchedulingById(Long id);

    ClassroomScheduling getClassrooomSchedulingByClassroomIdAndStartTimeAndEndTime(Long classroomId, LocalDateTime startTime, LocalDateTime endTime);
}
